RegisterWindowMessage

Prototype:

function RegisterWindowMessage(const Name: String): Longint;

Description:

The RegisterWindowMessage function defines a new window message that is guaranteed to be unique throughout the system. The returned message value can be used when calling the SendBroadcastMessage or PostBroadcastMessage function.